<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib prefix="app" uri="/application" %>
<%@ taglib  prefix="s"  uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title></title>
<link href="../css/css.css" rel="stylesheet" type="text/css" />
<link href="../css/dtree.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../scripts/dtreeAuth.js"></script>
<style type="text/css">
   .art_ul {}
   .art_ul li{padding:2px;display:block;border:1px solid red;overflow: hidden;border:1px solid #666;}
   .art_ul li img{width:120px;height:88px;}
   .art_ul div{float:left;padding:2px;}
   .content_main table td {text-align: left;}
</style>

</head>
<body>
<div id="all_main">
  <div class="head_main">
    <div class="main_nav">艺术家作品->作品详情</div>
    <div class="main_soso">
    	
    </div>
    <div class="main_title">
      <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr>
          <th width="100%" style="border-left:none;text-align: left;font-weight: normal;">艺术家作品基本信息 </th>
        </tr>
      </table>
    </div>
  </div>
  <div class="content_main">
    <form action="/art/su_art_product.shtml" name="form01" method="post">
    <input name="artId" value="${art.id}"  type="hidden"/>
    <input name="id" value="${product.id}"  type="hidden"/>
    <table border="0" cellpadding="0" cellspacing="0" width="100%" id="background_hegh01">
      <tr>
        <td width="15%" style="border-left:none" align="right">艺术家：</td>
        <td width="">${art.realName}</td>
      </tr>
      <tr>
        <td width="15%" style="border-left:none" align="right">作品名称：</td>
        <td width="">${product.productName}</td>
      </tr>
      <tr>
        <td width="15%" style="border-left:none" align="right">创作时间：</td>
        <td width="">${product.birthday}</td>
      </tr>
      
      <tr>
        <td width="15%" style="border-left:none" align="right">作品类型：</td>
        <td width=""><app:code_name code="${product.productType}"></app:code_name></td>
      </tr>
      <tr>
        <td width="15%" style="border-left:none" align="right">缩略图：</td>
        <td width="">
        <app:image src="${product.icoPath}"></app:image>
        </td>
      </tr>
      <tr>
        <td width="15%" style="border-left:none" align="right">作品图：</td>
        <td width=""><app:image src="${product.imgPath}"></app:image></td>
      </tr>
      <tr>
        <td width="15%" style="border-left:none" align="right">语音文件：</td>
        <td><app:image  src="${product.soundDesc}" type="doc"></app:image></td>
      </tr>
      
      <tr>
        <td width="15%" style="border-left:none" align="right">文字介绍：</td>
        <td width="">${product.textDesc} </td>
      </tr>
    </table>
    </form>
  </div>
  <div class="lapel" style="background:#FFFFFF;"><span>
  <input name="" type="button" class="input01" value="返回作品列表" onclick="javascript:document.location='/art/search_art_product.shtml'"/></span></div>
</div>
</body>
</html>
<script type="text/javascript" src="/scripts/util.js"></script>
<script type="text/javascript" src="/scripts/form_validate.js"></script>
<script type="text/javascript" src="/scripts/calendar.js"></script>
<script type="text/javascript" src="/scripts/wb.js"></script>
<script type="text/javascript" src="/scripts/page.js"></script>
<script type="text/javascript">
 new WBFS({url:'/resource/to_resource.shtml',title:'选择文件',btn:"product.icoPath"});
 new WBFS({url:'/resource/to_resource.shtml',title:'选择文件',btn:"product.imgPath"});
 new WBFS({url:'/resource/to_resource.shtml',title:'选择文件',btn:"product.soundDesc"});
 
validate.addvalidte(document.form01,{
        rules:{
           "product.productName":{checkNull:true},
           "product.birthday":{checkNull:true},
           "product.productType":{checkNull:true},
           "product.icoPath":{checkNull:true,suffix:/.jpg|.png|.bmp|.gif/i},
           "product.imgPath":{checkNull:true,suffix:/.jpg|.png|.bmp|.gif/i},
           "product.soundDesc":{checkNull:true,suffix:/.mp3/i},
           "product.textDesc":{checkNull:true}
           },
	    message:{
	    }
	    });
 

</script>